function main() {
     var library_name = "libmonobdwgc-2.0.so" // ex: libsqlite.so
     var loaded = false
     
         Interceptor.attach(Module.findExportByName(null, 'android_dlopen_ext'),{
             onEnter: function(args){
                 var library_path = Memory.readCString(args[0])
                 if( library_path.includes(library_name)){
                     console.log("found library : " + library_path)
                     loaded = true
                 }
             },
             onLeave: function(args){

                 if(loaded){
               
                     var addr = Module.findExportByName("libmonobdwgc-2.0.so","mono_image_open_from_data_with_name")
                     console.log("mono_image_open_from_data_with_name:"+addr)
                       Interceptor.attach(ptr(addr) , {
                         onEnter: function(args){
                            console.log("func addr-->"+args[1])
                          //  var content = Memory.readCString(ptr(args[1]))
                         //   console.log(content)
                 
                        },
                        onLeave: function(retval){
                                      
            
                        }
                      })
                     loaded = false
                 }
             }
         })

          
      
     }
     
     setImmediate(main);
     // frida -U --no-pause -f com.game.sgz.uc -l hhh.js
     // frida -U --no-pause -f com.game.sgz.uc -l hhh.js
     // frida -U com.game.sgz.uc -l hhh.js